package constant

// 错误码
const (
	ERROR_MESSAGE_1000 = "操作异常"
	ERROR_MESSAGE_1001 = "加载异常"

	ERROR_MESSAGE_1002 = "操作失败，请重试"
	ERROR_MESSAGE_1003 = "参数错误（这个不直接使用，message自定义）"

	ERROR_MESSAGE_1100 = "登录失败：未找到注册手机/邮箱号"
	ERROR_MESSAGE_1101 = "登录失败：密码错误"
	ERROR_MESSAGE_1102 = "登录失败：用户已被冻结"

	ERROR_MESSAGE_1103 = "登陆状态超时，请重新登陆"

	ERROR_MESSAGE_1200 = "新增失败：p2p端口已被占用"
	ERROR_MESSAGE_1201 = "新增失败：rpc端口已被占用"
	ERROR_MESSAGE_1300 = "两次密码不一致"
	ERROR_MESSAGE_1301 = "新密码长度小于8位"
	ERROR_MESSAGE_1302 = "原密码不正确"
	ERROR_MESSAGE_1303 = "邮箱输入错误"
	ERROR_MESSAGE_1304 = "姓名不支持输入符号"

	ERROR_MESSAGE_1400 = "菜单权限加载失败"
	ERROR_MESSAGE_1401 = "角色范围加载失败"
	ERROR_MESSAGE_1402 = "删除角色失败"
	ERROR_MESSAGE_1500 = "所属组织不存在"
	ERROR_MESSAGE_1501 = "用户绑定角色异常"
	ERROR_MESSAGE_1502 = "角色获取异常"
	ERROR_MESSAGE_1503 = "冻结失败"
	ERROR_MESSAGE_1504 = "解冻失败"
	ERROR_MESSAGE_1505 = "重置密码失败"
	ERROR_MESSAGE_1506 = "删除用户失败"
	ERROR_MESSAGE_1507 = "两次密码不一致"
	ERROR_MESSAGE_1508 = "新密码长度小于8位"
	ERROR_MESSAGE_1509 = "邮箱输入错误"
	ERROR_MESSAGE_1600 = "新增告警规则失败"
	ERROR_MESSAGE_1601 = "告警规则生效失败"
	ERROR_MESSAGE_1602 = "告警规则删除失败"
	ERROR_MESSAGE_1603 = "告警规则停止失败"
)
